package tw.com.softleader.movie.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import tw.com.softleader.movie.entity.Movie;

@Component
public class MovieHelper {

	@Autowired
	@Qualifier(value="myService")
	private MovieService movieService;
	
	
	public void setMovieService(MovieService movieService) {
		this.movieService = movieService;
	}


	public List<Movie> getAll() {
		return movieService.getAll();
	}
	
	
}
